package com.yonyou.cyxdms.sysAuth.service.mapper.cms;

import com.yonyou.cyx.framework.dao.base.SuperMapper;
import com.yonyou.cyxdms.sysAuth.service.entity.EmployeeRolePO;
import com.yonyou.cyxdms.sysAuth.service.entity.cms.UserInfoInterFaceMap;
import com.yonyou.cyxdms.sysAuth.service.entity.cms.UserInfoInterFaceMapCp;
import com.yonyou.cyxdms.sysAuth.service.entity.cms.UserInfoInterZhiHuiMapCp;
import com.yonyou.cyxdms.sysAuth.service.entity.cms.UserInfoInterZhiHuiRoleMapCp;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 员工角色 Mapper 接口
 * </p>
 *
 * @author quankk
 * @since 2019-07-05
 */
public interface CMSEmployeeMapper extends SuperMapper<EmployeeRolePO> {

    List<UserInfoInterFaceMapCp> getUserInfoByUpdateTime(@Param("updateTime") LocalDateTime updateTime);

    void updateAutoTime();

    List<UserInfoInterZhiHuiMapCp> getUserInfoAllByUpdateTime(@Param("updateTime") LocalDateTime updateTime,@Param("appId") String appId);

    List<UserInfoInterZhiHuiRoleMapCp> getUserInfoRoleAll(@Param("appId") String appId);
}
